//
//  ZPBaseViewController.h
//  ZPIOSEducation
//
//  Created by mini1 on 2016/11/29.
//  Copyright © 2016年 mini1. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface ZPBaseViewController : UIViewController
{
    MBProgressHUD *hud;
    UIView  *noDataView;
    UIView  *noNetWorkView;
    BOOL isHudShow;
}

- (BOOL)isHudShow;

//添加网络请求Activity加载效果
- (void)showHudithString:(NSString *)title;
// 取消activity效果
- (void)hiddenHud;

//显示数据个数为0视图
- (void)showNoDataViewWithTitle:(NSString *)title;
//隐藏数据个数为0视图
- (void)hiddenNoDataView;

//显示没有网络或服务器出错
- (void)showNoNetWorkView;
//重新加载按钮点击
- (void)reloadButtonAction;
//隐藏没有网络或服务器出错
- (void)hiddenNoNetWorkView;

@end

